﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NCS_CS
{
    public partial class Vstatus : ListView 
    {
        private int m_n;
        private ListViewItem [] m_status;
        public Vstatus():base()
        {
            //InitializeComponent();
        }
        public void setNstatus(int n)
        {
            m_n = n;
            m_status = new ListViewItem[m_n];
            this.Items.Clear(); 
            for(int i=0;i<m_n;i++)
            {
                m_status[i] = new ListViewItem(i.ToString());
                this.Items.Add(m_status[i]);
            }
        }

    }
}
